package com.tbb.app.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "评论新增传参对象")
public class RemarkDTO {

    @ApiModelProperty("笔记id，必填")
    @NotBlank(message = "笔记id必填")
    private String noteId;

    @ApiModelProperty("评论内容，必填")
    @NotBlank(message = "评论内容必填")
    private String remark;

}
